home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / libsrc~1.z / libsrc~1 / fcntl.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-28  |  321 b   |  13 lines

  1. #define __SRC__
  2. #include "lib.h"
  3.     /* thanks Andy Michaels */
  4.  
  5.     /* note this may need to be changes to a callx, if fcntl gets
  6.        stuff which needs arg to be a pointer etc (especially -mshort)
  7.     */
  8. PUBLIC int fcntl(des, cmd, arg)
  9. int des, cmd, arg;
  10. {
  11.   return callm1(FS, FCNTL, des, cmd, arg, NIL_PTR, NIL_PTR, NIL_PTR);
  12. }
  13.